package FuWu;

import ShiTi.YouHuiQuan;
import java.util.List;

/**
 * 优惠券服务接口
 */
public interface YouHuiQuanService {
    boolean faXingYouHuiQuan(YouHuiQuan youHuiQuan);     // 发行优惠券
    boolean shiYongYouHuiQuan(String biaoShi);           // 使用优惠券
    List<YouHuiQuan> huoQuKeYongYouHuiQuan(String yongHuBiaoShi); // 获取可用优惠券
    double jiSuanYouHui(String biaoShi, double yuanJia); // 计算优惠金额
} 